package com.fs.system.sys_admin.domain;

import java.time.LocalDateTime;

public class OperateLog {
    private Long logId;
    private String username;
    private String operateInterface;
    private String method;
    private Long runtime;
    private String result;
    private LocalDateTime operTime;

    public OperateLog(Long logId, String username, String operateInterface, String method, Long runtime, String result, LocalDateTime operTime) {
        this.logId = logId;
        this.username = username;
        this.operateInterface = operateInterface;
        this.method = method;
        this.runtime = runtime;
        this.result = result;
        this.operTime = operTime;
    }

    public OperateLog() {
    }

    @Override
    public String toString() {
        return "OperateLog{" +
                "logId=" + logId +
                ", username='" + username + '\'' +
                ", operateInterface='" + operateInterface + '\'' +
                ", method='" + method + '\'' +
                ", runtime=" + runtime +
                ", result='" + result + '\'' +
                ", operTime=" + operTime +
                '}';
    }

    public Long getLogId() {
        return logId;
    }

    public void setLogId(Long logId) {
        this.logId = logId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getOperateInterface() {
        return operateInterface;
    }

    public void setOperateInterface(String operateInterface) {
        this.operateInterface = operateInterface;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Long getRuntime() {
        return runtime;
    }

    public void setRuntime(Long runtime) {
        this.runtime = runtime;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public LocalDateTime getOperTime() {
        return operTime;
    }

    public void setOperTime(LocalDateTime operTime) {
        this.operTime = operTime;
    }
}
